<?php
/**
 * Description
 *
 * PHP version 7
 *
 * @category Custom
 * @package  Custom
 * @author   ryu <mo5467@126.com>
 * @date     2020-04-24 00:17:25
 * @lastTime 2020-05-01 23:00:04
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     none
 */

namespace Design\Structural\Bridge;

abstract class Service
{

    protected $implementation;


    public function __construct(Formatter $printer)
    {
        $this->implementation = $printer;

    }//end __construct()


    public function setImplementation(Formatter $printer)
    {
        $this->implementation = $printer;

    }//end setImplementation()


    abstract public function get(): string;


}//end class
